export default {
	list: {
		type: Array,
	},
	title: {
		type: String,
		default: '收货地址'
	},
	propNames: {
		type: Object,
		default() {
			return {
				id: 'id',
				name: 'name',
				tel: 'tel',
				province: 'province',
				city: 'city',
				district: 'district',
				address: 'address',
				isDefault: 'isDefault'
			}
		}
	},
	// 面板高度，注意单位rpx
	height: {
		type: [Number, String],
		default: () => uni.getWindowInfo().windowHeight
	},
	color: {
		type: String,
		default: () => uni.$xl.global?.themeColor || '#0a93ff'
	},
	btnText: {
		type: String,
		default: '新增收货地址'
	},
	btnTextColor: {
		type: String,
		default: '#fff'
	},
	popup: {
		type: Boolean,
		default: true
	},
	listApi: {
		type: String,
		default: ''
	},
	addressApi: {
		type: String,
		default: ''
	},
	deleteApi: {
		type: String,
		default: ''
	},
	manage: {
		type: Boolean,
		default: false
	}
}